package ast;

import visitor.*;

public class ExpresionArray extends AbstractExpresion
{
	public ExpresionArray(Expresion left, Expresion tamanio){
		this.left = left;
		this.tamanio = tamanio;
	}
	public ExpresionArray(Object left, Object tamanio){
		this.left = (Expresion)left;
		this.tamanio = (Expresion)tamanio;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public Expresion left;
	public Expresion tamanio;
	@Override
	public boolean isLvalue() {
	
		return lvalue;
	}
}
